<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>爱摄影</title>
    <link href="../include/css/index.css" rel="stylesheet">
    <link href="../include/bootstrap-3.3.7-dist/css/bootstrap.css" media="all" rel="stylesheet" type="text/css"/>
</head>
<body style="background-color: #f5f5f5;min-height: 1000px;">
<div class="bigbox">
<nav class="navbar navbar-inverse" style="flex: 0 0 auto">
    <div class="container-fluid">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
            <button aria-expanded="false" class="navbar-toggle collapsed" data-target="#bs-example-navbar-collapse-1"
                    data-toggle="collapse" type="button">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="/">旅游网</a>
        </div>

        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
                <li><a href="/articleList/">景点文章</a></li>
                <li><a href="/lovePhoto/">爱摄影</a></li>
                <li><a href="/GoodView/">好景推荐</a></li>
                <li><a href="#"></a></li>
            </ul>


            <ul class="nav navbar-nav navbar-right">
                {% if session.get('username')%}
                <li class="dropdown">
                  <a aria-expanded="false" aria-haspopup="true" class="dropdown-toggle" data-toggle="dropdown" href="#" role="button">{{session.get('username')}} <span class="caret"></span></a>
                  <ul class="dropdown-menu" style="text-align: center;">
                         {% if session.get('username') == 'admin'%}
                       <li><a  href="/edit/">发布</a></li>
                      {% endif %}
                      <li><a href="/zhuxiao/">注销</a></li>
                  </ul>
                </li>
                {% else %}
                <li><a href="/registerPage/">注册/登录</a></li>
                {% endif %}
            </ul>
        </div><!-- /.navbar-collapse -->
    </div><!-- /.container-fluid -->
</nav>



<div style="width: 1280px;margin: 0 auto;">
    {% for i in data:%}
        <div class="list_div" style="width: 390px;">
        <!--<div class="list_div" onmousemove="this.className='list_up'" onmouseout="this.className='list_div'">-->
            <a href="#" class="suofang2" style="text-decoration: none;">
                <img src="../include/images/lovePhoto/{{i}}.jpg" style="width: 390px;height: 330px; border-radius: 10px;">
            </a>
            <!--<div class="cnt">-->
                <!--<p>{{i['content']}}</p>-->
            <!--</div>-->
            <h4><a href="#">{{i}}</a></h4>
            <span><a href="#">旅游网</a></span>
            <!--<span class="glyphicon glyphicon-bookmark"></span>-->
        </div>
        {% endfor %}
</div>
<script src="../include/js/jquery3.4.1.js"></script>
<script src="../include/bootstrap-3.3.7-dist/js/bootstrap.js"></script>
 <div id="footer">
    <div class="footer-link">
        <a href="#">关于我们</a>
        <a href="#">联系我们</a>
        <a href="#">帮助中心</a>
        <a href="#">用户协议</a>
    </div>
    <div class="footer-record">
        <p class="record">©2019 - LVYOU.COM All Rights Reserved<br>
            <span>浙江信息科技有限公司&nbsp;浙ICP备166666666号-3&nbsp;&nbsp;&nbsp;&nbsp;浙公网安备 66666666666号</span>
        </p>
    </div>
</div>
</div>
</body>
</html>